<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<link  rel="stylesheet"  href="/javaweb-mybaits/a.css">

</head>

<body>
     <form action="<c:url value='/CustomerServlet'/>">
    <!-- 隐藏字段 -->
    <input type="hidden" name="method" value="insertCustomerByuser"/>
     <input type="hidden" name="cid" value=""/> 
               <%-- 编号 ：<input type="text" name="cid" value="${customer.cid}"/><br/> --%>
	      姓名：<input type="text" name="cname" value="${customer.cname}"/><br/>
	      性别：<select name="gender"><br/>
            
	         <option value="" <c:if test="${empty customer.gender }">selected="selected"</c:if>>请选择</option><br/>
	         
	         <option value="男"  
	         
	         <c:if test="${customer.gender eq '男'}">selected="selected"</c:if>>男
	         
	         </option>
	         
	         <option value="女"
	         
	         <c:if test="${customer.gender eq '女'}">selected="selected"</c:if>>女
	         
	         </option>
         
      </select><br/>
      
	       电话：<input type="text" name="cellphone" value="${customer.cellphone}"/><br/>
	       邮箱：<input type="text" name="email" value="${customer.email}"/><br/>
	       生日：<input type="text" name="birthday" value="${customer.birthday}"/><br/>
	       描述信息：<input type="text" name="description" value="${customer.description}"/><br/>    
	    <input type="submit" value="添加"/>  
    </form>
   
</body>
</html>